using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN BoMonEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:26/10/2011 44:05:56</para>
	/// <para>Class Name: BoMonEntity</para>
	/// <para>Description: ClassBoMonEntity store data of table BoMon</para>
	///</summary>

	[DataContract]
	public partial class BoMonEntity{


		private bool _InternalChangedIsNullBoMon_ID=true;
		private bool _IsNullBoMon_ID=true;
		private bool _InternalChangedIsNullMaBoMon=true;
		private bool _IsNullMaBoMon=true;
		private bool _InternalChangedIsNullTenBoMon=true;
		private bool _IsNullTenBoMon=true;
		private bool _InternalChangedIsNullMoTaBoMon=true;
		private bool _IsNullMoTaBoMon=true;
		private bool _InternalChangedIsNullKhoa_ID=true;
		private bool _IsNullKhoa_ID=true;
		private int _BoMon_ID;
		private string _MaBoMon;
		private string _TenBoMon;
		private string _MoTaBoMon;
		private int _Khoa_ID;
		[DataMember]
		public bool IsNullBoMon_ID{
			get{return _IsNullBoMon_ID;}
			set{if(!_InternalChangedIsNullBoMon_ID)_IsNullBoMon_ID=value;}
		}
		[DataMember]
		public bool IsNullMaBoMon{
			get{return _IsNullMaBoMon;}
			set{if(!_InternalChangedIsNullMaBoMon)_IsNullMaBoMon=value;}
		}
		[DataMember]
		public bool IsNullTenBoMon{
			get{return _IsNullTenBoMon;}
			set{if(!_InternalChangedIsNullTenBoMon)_IsNullTenBoMon=value;}
		}
		[DataMember]
		public bool IsNullMoTaBoMon{
			get{return _IsNullMoTaBoMon;}
			set{if(!_InternalChangedIsNullMoTaBoMon)_IsNullMoTaBoMon=value;}
		}
		[DataMember]
		public bool IsNullKhoa_ID{
			get{return _IsNullKhoa_ID;}
			set{if(!_InternalChangedIsNullKhoa_ID)_IsNullKhoa_ID=value;}
		}
		[DataMember]
		public int BoMon_ID{
			get{return _BoMon_ID;}
			set{
				_BoMon_ID=value;
				if(_BoMon_ID!=null){
					_IsNullBoMon_ID=false;
					_InternalChangedIsNullBoMon_ID=true;
				}
			}
		}
		[DataMember]
		public string MaBoMon{
			get{return _MaBoMon;}
			set{
				_MaBoMon=value;
				if(_MaBoMon!=null){
					_IsNullMaBoMon=false;
					_InternalChangedIsNullMaBoMon=true;
				}
			}
		}
		[DataMember]
		public string TenBoMon{
			get{return _TenBoMon;}
			set{
				_TenBoMon=value;
				if(_TenBoMon!=null){
					_IsNullTenBoMon=false;
					_InternalChangedIsNullTenBoMon=true;
				}
			}
		}
		[DataMember]
		public string MoTaBoMon{
			get{return _MoTaBoMon;}
			set{
				_MoTaBoMon=value;
				if(_MoTaBoMon!=null){
					_IsNullMoTaBoMon=false;
					_InternalChangedIsNullMoTaBoMon=true;
				}
			}
		}
		[DataMember]
		public int Khoa_ID{
			get{return _Khoa_ID;}
			set{
				_Khoa_ID=value;
				if(_Khoa_ID!=null){
					_IsNullKhoa_ID=false;
					_InternalChangedIsNullKhoa_ID=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END BoMonEntityBase*****************************************/
	/*****************************************************************************************************/
}

